Improving Index Performance through Prefetching (CMU-CS-00-177)

نویسندگان

  • Shimin Chen
  • Phillip B. Gibbons
  • Todd C. Mowry
چکیده

This paper proposes and evaluates Prefetching B-Trees (pB-Trees), which use prefetching to accelerate two important operations on B-Tree indices: searches and range scans. To accelerate searches, pB-Trees use prefetching to e ectively create wider nodes than the natural data transfer size: e.g., eight vs. one cache lines or disk pages. These wider nodes reduce the height of the B-Tree, thereby decreasing the number of expensive misses when going from parent to child without signi cantly increasing the cost of fetching a given node. Our results show that this technique speeds up search and update times by a factor of 1.2{1.5 for main-memory B-Trees. In addition, it outperforms and is complementary to \Cache-Sensitive B-Trees." To accelerate range scans, pB-Trees provide arrays of pointers to their leaf nodes. These allow the pB-Tree to prefetch arbitrarily far ahead, even for nonclustered indices, thereby hiding the normally expensive cache misses associated with traversing the leaves within the range. Our results show that this technique yields over a sixfold speedup on range scans of 1000+ keys. Although our experimental evaluation focuses on main memory databases, the techniques that we propose are also applicable to hiding disk latency.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Trace-Driven Comparison of Algorithms for Parallel Prefetching and Caching (CMU-CS-96-174)

High-performance I/O systems depend on prefetching and caching in order to deliver good performance to applications. These two techniques have generally been considered in isolation, even though there are signi cant interactions between them; a block prefetched too early reduces the e ectiveness of the cache, while a block cached too long reduces the effectiveness of prefetching. In this paper ...

متن کامل

A Status Report on Research in Transparent Informed Prefetching (CMU-CS-93-113)

This paper focuses on extending the power of caching and prefetching to reduce file read latencies by exploiting application level hints about future I/O accesses. We argue that systems that disclose high-level knowledge can transfer optimization information across module boundaries in a manner consistent with sound software engineering principles. Such Transparent Informed Prefetching (TIP) sy...

متن کامل

Fractal Prefetching B+trees: Optimizing Both Cache and Disk Performance (CMU-CS-02-115)

B-Trees have been traditionally optimized for I/O performance with disk pages as tree nodes. Recently, researchers have proposed new types of B-Trees optimized for CPU cache performance in main memory environments, where the tree node sizes are one or a few cache lines. Unfortunately, due primarily to this large discrepancy in optimal node sizes, existing disk-optimized B-Trees su er from poor ...

متن کامل

Improving Memory Access Performance of In-Memory Key-Value Store Using Data Prefetching Techniques

In-memory Key-Value stores (IMKVs) provide significantly higher performance than traditional disk-based counterparts. As memory technologies advance, IMKVs become practical for modern Big Data processing, which include financial services, e-commerce, telecommunication network, etc. Recently, various IMKVs have been proposed from both academia and industrial. In order to leverage high performanc...

متن کامل

PASTENSE: a Fast Start-up Algorithm for Scalable Video Libraries (CMU-CS-01-105)

Striping video clip data over many physical resources (typically disk drives) balances video server load with less data replication. Current striped video delivery algorithms can have high start-up latency if the load is high. We propose a new, fast start-up algorithm, PASTENSE. This algorithm minimizes start-up latency by using aggressive prefetching to exploit disk idle time, and using availa...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2015